package cn.drew.org.mapper;

import cn.drew.org.domain.SystemDictionaryDetail;
import cn.drew.org.query.SystemDictionaryDetailQuery;

import java.util.List;


public interface SystemDictionaryDetailMapper {
    //添加
    void add(SystemDictionaryDetail systemDictionaryDetail);
    //修改
    void update(SystemDictionaryDetail systemDictionaryDetail);
    //删除
    void delete(Long id);
    //查找一个
    SystemDictionaryDetail findById(Long id);
    //查找所有
    List<SystemDictionaryDetail> findAll();
    //分页条数
    Integer queryByCount(SystemDictionaryDetailQuery systemDictionaryDetailQuery);
    //分页查找数据
    List<SystemDictionaryDetail> queryByPage(SystemDictionaryDetailQuery systemDictionaryDetailQuery);

    void patchDelete(List<Long> ids);


    void deleteByType(Long typeid);

    void patchDeleteByType(List<Long> ids);
}
